package com.eBook.entity;
/**
 * 评论实体，每个对象对应一条评论
 * */
public class Comment {
	private int commentId;
	private User commentUser;
	private Book commentBook;
	private String commentContent;
	
	public Comment() {
		super();
	}
	public Comment(User commentUser, Book commentBook, String commentContent) {
		super();
		this.commentUser = commentUser;
		this.commentBook = commentBook;
		this.commentContent = commentContent;
	}
	public Comment(int commentId, User commentUser, Book commentBook,
			String commentContent) {
		super();
		this.commentId = commentId;
		this.commentUser = commentUser;
		this.commentBook = commentBook;
		this.commentContent = commentContent;
	}
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public User getCommentUser() {
		return commentUser;
	}
	public void setCommentUser(User commentUser) {
		this.commentUser = commentUser;
	}
	public Book getCommentBook() {
		return commentBook;
	}
	public void setCommentBook(Book commentBook) {
		this.commentBook = commentBook;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
}
